package com.gopay.common.domain.bank;



import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

@Entity
@Table(name = "BIS_BANK_EXPAY_DTL")
public class BisBankExpayDtl extends BaseEntity{
    

    private static final long serialVersionUID = -2514300040318159328L;

    /**
     * 序列号
     */
    @Id
    @SequenceGenerator(name="BIS_BANK_EXPAY_DTL_SEQ", sequenceName="BIS_BANK_EXPAY_DTL_SEQ" )
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="BIS_BANK_EXPAY_DTL_SEQ")
    @Column(name="SQ")
    private int sq;
    
    /**
     *国付宝订单号
     */
    @Column(name = "GOPAY_ORDER_ID",nullable = false, length = 30)
    private String orderId;
    
    /**
     * 要素加密值
     */
    @Column(name = "ELEMENTS_VALUE", nullable = false, length = 50)
    private String elementsValue;
    
    /**
     * 订单状态   0：鉴权通过   1：短信申请成功  2:短信授权成功
     */
    @Column(name = "ORDER_STATUS", nullable = false, length = 1)
    private String  orderStatus;
    
    /**
     * 创建时间
     */
    @Column(name = "CREATED_TIME")
    private Date createdTime;
    
    /**
     * 记录最后修改时间
     */
    @Column(name = "LAST_UPD_TS")
    private Date lastUpdTs;

    public int getSq() {
        return sq;
    }

    public void setSq(int sq) {
        this.sq = sq;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getElementsValue() {
        return elementsValue;
    }

    public void setElementsValue(String elementsValue) {
        this.elementsValue = elementsValue;
    } 

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getLastUpdTs() {
        return lastUpdTs;
    }

    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    
    
}
